<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
	<xsl:template match="form[@name='register']">
		<form>
			<xsl:copy-of select="@*"/>
			<xsl:apply-templates select="control/input[@type='hidden']"/>
			<table sellpadding="2" cellspacing="2" align="center" width="95%">
				<tr>
					<td>
						<xsl:call-template name="title_page">
							<xsl:with-param name="titleText">Daily Register</xsl:with-param>
						</xsl:call-template>
					</td>
				</tr>
				<tr>
					<td>
						<table sellpadding="2" cellspacing="2" align="center" width="77%">
							<tr>
								<td align="left" class="regtitle">
									<xsl:choose>
									<xsl:when test="string-length(/page/registration_info)=0">
									To View the detail specifications on this yacht and other yachts on our site.  Please fill out our registration form.  First name and email address are the only fields required.  Thank you for your visting our site and hope that you have an enjoyable time while looking for your next dreamboat.
									</xsl:when>
									<xsl:otherwise>
										<xsl:value-of select="/page/registration_info"/>
									</xsl:otherwise>
									</xsl:choose>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table sellpadding="2" cellspacing="2" align="center">
							<tr>
								<td align="left" valign="bottom" class="titleblack"><xsl:apply-templates select="control[@name='r_first_name']"/></td>
								<td align="left" valign="bottom" class="titleblack"><xsl:apply-templates select="control[@name='r_middle_name']"/></td>
								<td align="left" valign="bottom" class="titleblack"><xsl:apply-templates select="control[@name='r_last_name']"/></td>
							</tr>
							<tr>
								<td align="left" valign="bottom" class="titleblack"><xsl:apply-templates select="control[@name='r_email_from']"/></td>
								<td align="left" valign="bottom" class="titleblack"><xsl:apply-templates select="control[@name='r_state_id']"/></td>
								<td align="left" valign="bottom" class="titleblack"><xsl:apply-templates select="control[@name='r_phone']"/></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td align="center" valign="bottom"><input type="Image" name="Reg" src="{$img_path_templates}/{$header_bg_color}/buttons/btn_register.gif"/></td>
				</tr>
			</table>
			<hr width="75%" size="1" noshade="true" color="#CCCCCC"/>
		</form>
	</xsl:template>
</xsl:stylesheet>
